/**
 * CC_Model_DownloadFinished.java
 */
package commands.controller;
import dataTypes.*;

/**
 * A command reporting the end of a download of the file.
 * @author Michal Kolodziejski
 */
public class CC_Model_DownloadFinished extends ControllerCommand {
	/** A file which has been downloaded. */
	private DownloadFile downloadFile;
	
	/**
	 * Contructor
	 * @param downloadFile a file which has been downloaded
	 */
	public CC_Model_DownloadFinished(DownloadFile downloadFile){
		super(ControllerCommandType.MODEL_DOWNLOAD_FINISHED);
		this.downloadFile = downloadFile;
	}

	/**
	 * @return the file which has been downloaded
	 */
	public DownloadFile getDownloadFile() {
		return downloadFile;
	}
}
